package cn.pupil.demo.design.domain.service.logic.impl;

import cn.pupil.demo.design.domain.service.logic.BaseLogic;

import java.util.Map;

/**
 * @Description: 用户性别决策
 * @Author: pupil
 * @Date: 2024/07/25 下午 4:35
 */
public class UserGenderFilter extends BaseLogic {
    @Override
    public String matterValue(Long treeId, String userId, Map<String, String> decisionMatter) {
        // 从决策物料中获取决策值（性别）
        return decisionMatter.get("gender");
    }
}
